import { Outlet } from 'react-router-dom';
import { Suspense } from 'react'
import Loader from '~/components/Loader'


function MainLayout() {
    return (
      <Suspense fallback={<Loader />} >
        <nav>
         
        </nav>
        <main>
          <Outlet />
        </main>        
      </Suspense>
    );
  }
  
  export default MainLayout;